<?php 
	if($navigation >=0 && $navigation <= 9) $vol = 0;
	if($navigation >=10 && $navigation <= 19) $vol = 1;
?>
		
<div id="navigation" class="easyui-accordion" border="false"> 
	<div title="General" <?= $vol == 0 ? 'selected="true"' :'' ?>>
		<ul class="pitem">
			
			<li><?= $navigation == 0 ? '<b>Home</b>' : '<a href="'. site_url("home") .'">Home</a>' ?></li>
			<li><?= $navigation == 1 ? '<b>About Us</b>' : '<a href="'. site_url("home/about_us") .'">About Us</a>' ?></li>
		</ul>
	</div>
	<div title="Associations" <?= $vol == 1 ? 'selected="true"' :'' ?>>
		<ul class="pitem">
			<li><?= $navigation == 10 ? '<b>Find Associations</b>' : '<a href="'. site_url("association/find") .'">Find Association</a>' ?></li>
			
	</div>

<?php 
	if($is_admin){
?>
	<div title="Administration" <?= $vol == 9 ? 'selected="true"' :'' ?>>
		<ul class="pitem">
			<li><?= $navigation == 90 ? '<b>View Users</b>' : '<a href="'. site_url("admin/users") .'">View Users</a>' ?></li>
			<li><?= $navigation == 91 ? '<b>View Associations</b>' : '<a href="'. site_url("admin/associations") .'">View Associations</a>' ?></li>
		</ul>
	</div>
<?php } ?>
	
</div> 